package xh.lumt.server;

import xh.lumt.server.store.MusicLinkStorage;

/**
 * Created by Administrator on 2016/6/25.
 */
public class ServerController {

    private static PlayStatusCenter playStatusCenter = new PlayStatusCenter();

    private static PlayStatusRequestManager playStatusRequestManager = new PlayStatusRequestManager(playStatusCenter);

    public static PlayStatusRequestManager playerStatusRequestHolder() {
        return playStatusRequestManager;
    }

    public static PlayStatusCenter getPlayStatusCenter() {
        return playStatusCenter;
    }

    public static final MusicLinkStorage musicLinkStorage = new MusicLinkStorage(System.getProperty("user.home"));

    static {
        musicLinkStorage.add("南方姑娘", "http://luoo-mp3.kssws.ks-cdn.com/low/they/20140408.mp3");
        musicLinkStorage.add("我们的时光", "http://luoo-mp3.kssws.ks-cdn.com/low/chinese/20150701.mp3");
    }
}
